package com.xiaomi.pojo;

import java.io.Serializable;

//广告表
public class Advertisement implements Serializable {

    private int aid;//广告id
    private String apath;//广告图片路径
    private int cid;//手机id
    private int type_id;//广告图等级id

    private String comname;//商品名称

    public String getComname() {
        return comname;
    }

    public void setComname(String comname) {
        this.comname = comname;
    }

    public int getType_id() {
        return type_id;
    }

    public void setType_id(int type_id) {
        this.type_id = type_id;
    }

    public int getAid() {
        return aid;
    }

    public void setAid(int aid) {
        this.aid = aid;
    }

    public String getApath() {
        return apath;
    }

    public void setApath(String apath) {
        this.apath = apath;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }


    @Override
    public String toString() {
        return "Advertisement{" +
                "aid=" + aid +
                ", apath='" + apath + '\'' +
                ", cid=" + cid +
                ", type_id=" + type_id +
                ", comname='" + comname + '\'' +
                '}';
    }
}